From 452bf3a37511a6b15437004780c8dfca6bb8f458 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 19 Feb 2024 16:37:29 -0800
Subject: fix(user): types and classes

---
 src/routes/user/[user]/badges/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/routes/user/[user]/badges/+page.svelte')

diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 209ac64c..03c9af50 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -1,6 +1,6 @@
 <script lang="ts">
 	import { userIdentity } from '$lib/Data/AniList/identity';
-	import { user } from '$lib/Data/AniList/user';
+	import { user, type User } from '$lib/Data/AniList/user';
 	import type { Badge } from '$lib/Database/userBadges';
 	// import { domToBlob } from 'modern-screenshot';
 	import { onMount } from 'svelte';
@@ -48,7 +48,7 @@
 	let importLinks = false;
 	let importCategory = '';
 	let importReplies = false;
-	let badger;
+	let badger: Partial<User>;
 
 	// $: downloadDisabled = badgeCount > 20;
 
-- 
cgit v1.2.3

